home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypertxt / msdos / hyprvx11 / attach < prev    next >
Text File  |  1990-11-12  |  2KB  |  48 lines

  1. ATTACH
  2.  
  3. Permits you to switch control of your terminal from your current process to
  4. another process in your job.
  5.  
  6. The ATTACH command allows you to move quickly between processes that you have
  7. created with the SPAWN command. For example, while you are editing a file, you
  8. can SPAWN a subprocess (MAIL) to read a new mail message.
  9. Enter the ATTACH command to get back to back to the editing session. If you want
  10. to read another new mail message, you can use the ATTACH command to get back to
  11. the MAIL subprocess you already created.
  12.  
  13.                                                    See also <SPAWN>
  14.  
  15. Format:        ATTACH [/PARENT] [process-name]
  16.  
  17.  
  18. Parameters:    process-name
  19.  
  20.                Indicates the name of the subprocess to which the connection 
  21.                is to be made. Only the /PARENT qualifier or a process-name
  22.                may be specified.
  23.  
  24.  
  25. Qualifiers:    /PARENT
  26.  
  27.                Allows you to attach to your process' parent process. 
  28.                If there is no parent process an error message is printed.
  29.  
  30.  
  31. Examples:
  32.  
  33.        $ SPAWN MAIL
  34.        %DCL-S-SPAWNED, process MAGNANI_3 spawned
  35.        %DCL-S-ATTACHED, terminal now attached to process MAGNANI_3
  36.        MAIL> ATTACH MAGNANI_2
  37.        %DCL-S-RETURNED, control returned to process MAGNANI_2
  38.        $ ATTACH MAGNANI
  39.        MAIL>
  40.  
  41.  
  42.                This example shows how to spawn subprocesses (MAGNANI_2 and      
  43.                MAGNANI_3) to move from MAIL to DCL back to MAIL. The             
  44.                ATTACH command allows you to transfer control between             
  45.                subprocesses.
  46.  
  47. **NOTE**
  48. You always SPAWN a new process and ATTACH to a process that already exists.